﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>OperatMain</title>
    <script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        function OnLink(linstring) {
            if (linstring != "") {
                window.parent.MainFrm.location.href = linstring;
            }
        }

        $(function () {
            $(".menu-item").find("a").each(function (i, o) {
                if ($(o).attr("read") == "2") {
                    $(o).attr("href", "javascript:void(0)");
                    $(o).attr("title", "目前不提供此操作");
                    $(o).attr("style", "color:gray");
                }
            });
        });
    </script>
    <link href="../../Content/style/general.css" rel="stylesheet" type="text/css" />
</head>
<body onload="OnLink('<%=ViewData["InitLink"]%>')">
    <div id="main-div">
        <div id="menu-list">
            <%= ViewData["MenuTree"]%>
        </div>
    </div>
</body>
</html>
